<form method="post" class="form-horizontal" id="form-column-submit">
    <input type="hidden" name="column_id" id="column_id" value="0">
    <input type="hidden" name="column_siteid" id="column_siteid" value="{$site['site_id']}">
    <input type="hidden" name="column_pid" id="column_pid" value="0">
    <input type="hidden" name="column_path" id="column_path" value="0">
    <div class="modal fade" data-backdrop="static" id="column-create">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">关闭</span></button>
                    <h4 class="modal-title">栏目管理</h4>
                </div>
                <div class="modal-body">
                    <fieldset>
                        <legend class="pb10 mb10">基础信息</legend>
                        <div class="form-group">
                            <label for="column_icon" class="col-sm-2 required">栏目图标</label>
                            <div class="col-sm-8">
                                <select class="chosen-icons form-control" name="column_icon" id="column_icon" data-value="icon-file-text"></select>
                            </div>
                            <div class="col-sm-2">
                                <p class="help-block"></p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="column_name" class="col-sm-2 required">栏目名称</label>
                            <div class="col-sm-8">
                                <input type="text" class="form-control" name="column_name" id="column_name" placeholder="栏目名称" value="" autocomplete="off" required>
                            </div>
                            <div class="col-sm-2">
                                <p class="help-block">栏目名称</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="column_enname" class="col-sm-2 required">栏目英文</label>
                            <div class="col-sm-8">
                                <input type="text" class="form-control" name="column_enname" id="column_enname" placeholder="栏目英文" value="description" autocomplete="off" required>
                            </div>
                            <div class="col-sm-2">
                                <p class="help-block">栏目英文</p>
                            </div>
                        </div>
                    </fieldset>
                    <fieldset>
                        <legend class="pb10 mb10">选择功能</legend>
                        <div class="row">
                            <div class="col-sm-4 radio"><label><input type="radio" name="column_moduleid" value="0" checked="true" data-cate="0" data-field="0">栏目</label></div>
                            {volist name="module" id="vo"}
                            <div class="col-sm-4 radio"><label><input type="radio" name="column_moduleid" value="{$vo['module_id']}" data-cate="{$vo['module_cate']}" data-field="{$vo['module_field']}">{$vo['module_name']}</label></div>
                            {/volist}
                        </div>
                        <div class="row mt15 pt10 hl-default" id="column_customer" style="display: none;">
                            <div class="col-sm-6" id="column_cate_div">
                                <div class="form-group mb10">
                                    <label for="column_cate" class="col-sm-4">分类功能</label>
                                    <div class="col-sm-6">
                                        <select class="form-control" name="column_cate" id="column_cate">
                                            <option value="0">禁用</option>
                                            <option value="1">单选</option>
                                            <option value="2">多选</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-6" id="column_field_div">
                                <div class="form-group mb10">
                                    <label for="column_field" class="col-sm-4">自定义字段</label>
                                    <div class="col-sm-6">
                                        <select class="form-control" name="column_field" id="column_field">
                                            <option value="0">禁用</option>
                                            <option value="1">启用</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </fieldset>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                    <button type="submit" class="btn btn-primary">保存</button>
                </div>
            </div>
        </div>
    </div>
</form>